﻿using System.Reflection;
using MetaSharp.Transformation.Patterns;

namespace MetaSharp.Transformation
{
    public class RuleEntry
    {
        public PatternMatch Rule { get; private set; }
        public MemoTable Memos { get; private set; }
        public RulePattern Origin { get; private set; }
        public IStream Stream { get; private set; }

        public RuleEntry(PatternMatch rule, RulePattern origin, IStream stream, MemoTable memos)
        {
            this.Rule = rule;
            this.Memos = memos;
            this.Origin = origin;
            this.Stream = stream;
        }
    }
}
